//filescopy包
//node filescopy src dst
var fs=require('fs');
console.log('filescopy');
function copy(src,dst){
	//fs.writeFileSync(dst,fs.readFileSync(src));
	fs.createReadStream(src).pipe(fs.createWriteStream(dst));
}

function main(argv){
	copy(argv[0],argv[1]);
}

main(process.argv.slice(2));